#include "TcpClientTransferSession.h"

int main()
{
	pid_t pid;
	TcpClientTransferSession tcp_cli("127.0.0.1",
									 9010);
	if(0 == (pid = fork())) {
		tcp_cli.wait_for_recv();
	}

	cout<<"send data to remote host"<<endl;
	tcp_cli.send_data("send_file",
				 	  "127.0.0.1",
				 	  9000);

	return 0;
}
